package com.cam.framework.system.user.domain;

import com.cam.framework.crud.CrudDTO;
import lombok.Data;

@Data
public class SysUserDTO extends CrudDTO {

    private static final long serialVersionUID = 1L;

    private String name;

    private String rootFlag;

    public Boolean isRootUser() {
        return "1".equals(this.rootFlag);
    }

}
